<%--
  Created by IntelliJ IDEA.
  User: Kevin
  Date: 2021/6/2
  Time: 10:31
  To change this template use File | Settings | File Templates.
--%>
<%@page import="cn.kgc.pojo.*" %>
<%@page import="java.util.List" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1>添加空气质量信息</h1>
<form id="save" action="save" method="post">
    监测区域:
    <select name="districtId">
        <c:forEach items="${districts}" var="d">
            <option value="${d.id}">${d.name}</option>
        </c:forEach>
    </select>
    <br/>
    监测日期:
    <input type="text" title="监测日期" name="monitorTime" required>
    <br/>
    PM10值:
    <input type="text" title=" PM10值" name="pm10" required>
    <br/>
    PM2.5值:
    <input type="text" title=" PM2.5值" name="pm25" required>
    <br/>
    监测站:
    <input title="监测站" name="monitoringStation" required>
    <br/>
    <input type="submit" value="保存" class="save">
    &nbsp;&nbsp;
    <input type="reset" value="重置">
    &nbsp;&nbsp;
    <input type="button" value="返回" class="back">
</form>
</body>
</html>
